package com.tang.model.mouse.mouse;

import com.tang.model.mouse.core.Event;
import com.tang.model.mouse.core.EventListener;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/9/7 21:22
 * @Desc
 * @Remarks
 */
public class MouseListener implements EventListener {

    public void onClick(Event event) {
        System.out.println(event);
        System.out.println("触发点击事件！");
    }

    public void onMove(Event event) {

        System.out.println(event);
        System.out.println("触发滑动事件！");
    }
}
